import React, { Component } from 'react';
class Index extends Component {
	render() {
		const { list } = this.props
		return (
			<div>
				{
					list.length > 0 && list.map(v => {
						return (
							<dl key={v.id}>
								<dt>
									<img src={v.url} alt="" />
								</dt>
								<dd>
									<h3>{v.title}</h3>
									<p>{v.desc}</p>
								</dd>
							</dl>
						)
					})
				}
			</div>
		);
	}
}

export default Index;
